export const getters = {
    token : state => state.user.token,
    getUserInfo:state=>state.user.userInfo,
    hasUserInfo:state=>{
        return JSON.stringify(state.user.userInfo)!=='{}'
    }
}